package com.guacha;

public class WeiXinYongHu implements Observe {
    private String name;

    public WeiXinYongHu(String name) {
        this.name = name;
    }

    @Override
    public void updateMsg(String msg) {
        System.out.println(name+"接收到了一条消息，消息的内容是:"+msg);
    }
}
